package com.ihr360.commons.exception;

/**
 * Excel异步操作时产生的异常
 *
 * @author richey
 */
public class Ihr360SpreadSheetAsynException extends RuntimeException {

    private String progressKey;

    private String msgKey;

    private Object[] args;



    public Ihr360SpreadSheetAsynException(String progressKey, String message) {
        super(message);
        this.progressKey = progressKey;
    }

    public Ihr360SpreadSheetAsynException(String progressKey,
                                          String message,
                                          String msgKey,
                                          Object[] args) {
        super(message);
        this.progressKey = progressKey;
        this.msgKey = msgKey;
        this.args = args;
    }

    public String getProgressKey() {
        return progressKey;
    }


    public void setProgressKey(String progressKey) {
        this.progressKey = progressKey;
    }

    public String getMsgKey() {
        return msgKey;
    }

    public void setMsgKey(String msgKey) {
        this.msgKey = msgKey;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }

}
